package com.sky.service;

import com.sky.dto.OrdersPageQueryDTO;
import com.sky.entity.Orders;
import com.sky.result.PageResult;
import com.sky.vo.OrderStatisticsVO;
import com.sky.vo.OrderSubmitVO;
import com.sky.vo.OrderVO;
import java.util.List;

public interface OrderService {
    void insertOrder(Orders orders);

    void updateOrder(Orders orders);

    void repetitionOrder(Long id);

    void cancelOrder(Long id);

    OrderSubmitVO submitOrder(Orders orders);

    OrderVO detailOrder(Long id);

    PageResult pageQuery(OrdersPageQueryDTO ordersPageQueryDTO);

    OrderStatisticsVO getOrderStatistics();

    List<OrderVO> getOrderDetailAll(OrdersPageQueryDTO ordersPageQueryDTO);
}
